package com.stations.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.stations.common.web.domain.request.PageDomain;
import com.stations.common.web.domain.response.Result;
import com.stations.domain.TStation;
import com.stations.domain.dtree.DTree;

import java.util.List;


/**
 * Describe: 台站服务接口类
 * Author: Ljy
 * CreateTime: 2019/10/23
 */
public interface StationService extends IService<TStation> {

    List<TStation> selectAll();

    Result add(TStation station);

    Result edit(TStation station);

    Result del(TStation station);

    List<DTree> getTree();

    PageInfo<TStation> selectTStationPage(TStation tStation, PageDomain pageDomain);
}

